package com.mdd.admin.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Date;
import java.util.Date;
import java.util.Date;
import java.util.Date;
import javax.validation.constraints.*;

@Data
@ApiModel("订单创建参数")
public class OrderInfoCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "门店id")
    private Long storeId;

    @NotNull(message = "memberUsername参数缺失")
    @ApiModelProperty(value = "用户帐号")
    private Long userId;

    @ApiModelProperty(value = "租赁计划id")
    private Long leasingSchemeId;

    @ApiModelProperty(value = "sku值")
    private String properties;

    @NotNull(message = "orderType参数缺失")
    @ApiModelProperty(value = "订单类型：0->购物订单；1->租赁订单")
    private Integer orderType;

    @NotNull(message = "note参数缺失")
    @ApiModelProperty(value = "订单备注")
    private String note;



}
